﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace HPIT_Library
{
    public partial class BasePage : System.Web.UI.Page
    {
       
        protected  override void OnInit(EventArgs e)
        {
            if (Session["Info"]==null)
            {
                Response.Write("<script>alert('您还未登录请先进行登录');top.location.href='Library.aspx'</script>");
                Response.End();
            }
        }
    }
}